package details;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;

/**
 *
 * @author jeroen
 */
public class PatientDetails {

    private Long id;

    private String username;

    private String password;

    private String ssn;

    private String name;

    private String surname;

    private String bloodgroup;

    private Calendar birthday;

    private AddressDetails address;

    private Date lastConsult;

    private Date nextConsult;

    public PatientDetails(){

    }

    public PatientDetails(Long id, String username, String password, String ssn) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.ssn = ssn;
    }

    public PatientDetails(Long id, String username, String password, String ssn, String name, String surname, String bloodgroup, Calendar birthday, AddressDetails address, Date lastConsult, Date nextConsult) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.ssn = ssn;
        this.name = name;
        this.surname = surname;
        this.bloodgroup = bloodgroup;
        this.birthday = birthday;
        this.address = address;
        this.lastConsult = lastConsult;
        this.nextConsult = nextConsult;
    }

    public AddressDetails getAddress() {
        return address;
    }

    public void setAddress(AddressDetails address) {
        this.address = address;
    }

    public Calendar getBirthday() {
        return birthday;
    }

    public void setBirthday(Calendar birthday) {
        this.birthday = birthday;
    }

    public String getBloodgroup() {
        return bloodgroup;
    }

    public void setBloodgroup(String bloodgroup) {
        this.bloodgroup = bloodgroup;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSsn() {
        return ssn;
    }

    public void setSsn(String ssn) {
        this.ssn = ssn;
    }

    public String getSurname() {
        return surname;
    }

    public void setSurname(String surname) {
        this.surname = surname;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getLastConsult() {
        return lastConsult;
    }

    public void setLastConsult(Date lastConsult) {
        this.lastConsult = lastConsult;
    }

    public Date getNextConsult() {
        return nextConsult;
    }

    public void setNextConsult(Date nextConsult) {
        this.nextConsult = nextConsult;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    



}
